<?php
namespace frontend\models;

use yii\base\Model;

/**
 * Signup form
 */
class RbacUserRule extends Model
{
    public $name = 'is_user_rule';

    public function execute($user, $item, $params) {
        //return isset($params['post']) ? $params['post']->createdBy == $user : false;
        return true;
    }

}
